<!--
 * @Description: 
 * @Author: dh
 * @Date: 2022-01-27 11:22:02
 * @LastEditors: dh
 * @LastEditTime: 2022-01-27 11:24:23
-->
<!-- B.html -->
<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>B</title>
	</head>

	<body>
		<h1>B 页面</h1>
		<button onclick="setLocal()">设置local</button>
		<script>
			function setLocal() {
				localStorage.setItem('age', Math.random());
			}
		</script>
	</body>
</html>
